<?php

namespace Tests\Feature;

use Tests\TestCase;

class RegionControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Region';
    self::$table = 'regions';
    self::$searchExpr = 'name=[lk]Romagna';
    self::$searchRecord = ['country_id', '=', '110', 'name', '=', 'Emilia-Romagna'];
    self::$toIns = [
      'country_id' => 235,
      'name' => 'Scotland',
    ];
    self::$searchToUpd = ['country_id', '=', '235', 'name', '=', 'Scotland'];
    self::$toUpd = ['name' => 'The real Scotland'];
    self::$searchToDel = ['country_id', '=', '235', 'name', '=', 'The real Scotland'];
  }
}
